import Vue from 'vue'
import vuex from 'vuex'
import * as actions from './actions'
import getters from './getters'
import * as mutations from './mutations'

Vue.use(vuex)

const state = {
  order: {},
  instalments: [
    {},
    {},
    {}
  ],
  modal: {
    refund: false
  }
}

export default new vuex.Store({
  state,
  mutations,
  actions,
  getters,
})
